package com.bruce.downloader.thread;

import com.bruce.downloader.dto.DownloadDetailDto;
import com.bruce.downloader.dto.DownloadFileDetailDto;
import com.bruce.downloader.handle.FileResponseExtractor;

import java.util.Map;
import java.util.concurrent.RecursiveTask;

public class FileDownloadRecursiveTask extends RecursiveTask<Map<Integer, DownloadFileDetailDto>> {
    private DownloadDetailDto detailDto;

    @Override
    protected Map<Integer, DownloadFileDetailDto> compute() {
        spilt(detailDto);
        return null;
    }

    private void spilt(DownloadDetailDto detailDto) {
        //for()
    }
}
